package com.springboot.scala.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.swing.*;

/**
 * @author 筱筱
 * @date 2021-02-24 10:20
 * <p>
 * 类说明：
 */
@RestController
@RequestMapping("/sb_scala")
public class HjController {

    @GetMapping("/hello_j")
    public String helloJ(@RequestParam(value = "name", defaultValue = "Java") String name) {
        return "Hello " + name;
    }
}

